﻿package org.app.entities;

/**
 * 简单坐标
 * @author zheng
 *
 */
public class MyCoordinate {
	//int x,y;
	//（latitude,longitude）
	int latitude; //维度 
	int longitude;//经度
	
	public MyCoordinate(){}

	public MyCoordinate(int latitude, int longitude) {
		super();
		this.latitude = latitude;
		this.longitude = longitude;
	}
	
	public static void main(String[] args){
		System.out.println(new MyCoordinate());
	}

	public int getLatitude() {
		return latitude;
	}

	public void setLatitude(int latitude) {
		this.latitude = latitude;
	}

	public int getLongitude() {
		return longitude;
	}

	public void setLongitude(int longitude) {
		this.longitude = longitude;
	}

	public String toString(){
		return String.format("(%d,%d)", this.latitude,this.longitude);
	}
	
	

}
